package com.pxst.merchant.req;


import com.fasterxml.jackson.annotation.JsonProperty;
import com.pxst.annotations.NoAuthorize;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * @Author: @Ryan
 * @Description:
 * @CreateTime: 2023-09-11 17:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MerchantListReq {

    // 代理id集合
    @ApiModelProperty("代理id集合")
    private List<Long> agentId;

    @ApiModelProperty("商户id集合")
    private List<Long> merchantId;

    @ApiModelProperty("货币种类")
    @NotNull
    private String currency;


    @ApiModelProperty("起始时间")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date startDate;

    @ApiModelProperty("结束时间")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date endDate;

    @ApiModelProperty("商户状态")
    private List<Integer> status;

    // 不可用银行类型
    @ApiModelProperty("不可用银行类型集合")
    private List<Long> notAllowedTypes;

    // 不可用银行id
    @ApiModelProperty("不可用银行id")
    private Long notAllowedBk100Id;

    // 银行卡组id
    @ApiModelProperty("银行卡组id")
    private Long pg100Id;

    // 页面数据条数
    @ApiModelProperty(value = "页面大小",required = true)
    @NotNull(message = "页面大小不能为空")
    private Integer rp;

    @ApiModelProperty(value = "页数",required = true)
    @NotNull(message = "页码不能为空")
    private Integer page;

}
